package com.nondo.dean.order.model.result;

import java.math.BigDecimal;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonSetter;

public class ProductResult {
    /**
     * 产品ID
     */
    private Integer id;
    /**
     * 产品编码
     */
    private String code;
    /**
     * 产品名称
     */
    private String name;
    /**
     * 产品主图
     */
    private String mainImage;
    /**
     * 产品描述
     */
    private String descrption;
    /**
     * 是否可以下单
     */
    private String orderFlag;

    /**
     * 库存数量
     */
    private Integer stock;

    /**
     * 产品价格类型
     */
    private String type;

    /**
     * 价格级别：0.正价；1.特价；2.活动款
     */
    private Integer priceGrade;

    /**
     * 成本价
     */
    private BigDecimal costPrice;
    /**
     * 销售价
     */
    private BigDecimal salePrice;

    /**
     * 计量单位
     */
    private String unit;

    /**
     * 事业部代码
     */
    private String businessCode;
    
    /**
     * 软体标识
     */
    private String softwareFlag;
    
    /**
     * 购买数量(扩充属性)
     */
    private Integer purchaseNum;
    
    /**
     * 异形调价(扩充属性)
     */
    private BigDecimal specialPrice;
    
    /**
     * PO项目(扩充属性)
     */
    private String poItem;
    
    /**
     * 单品备注(扩充属性)
     */
    private String note;
    
    /**
     * @return the id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return the code
     */
    public String getCode() {
        return code;
    }

    /**
     * @param code the code to set
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the orderFlag
     */
    public String getOrderFlag() {
        return orderFlag;
    }

    /**
     * @param orderFlag the orderFlag to set
     */
    public void setOrderFlag(String orderFlag) {
        this.orderFlag = orderFlag;
    }

    /**
     * @return the costPrice
     */
    public BigDecimal getCostPrice() {
        return costPrice;
    }

    /**
     * @param costPrice the costPrice to set
     */
    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    /**
     * @return the salePrice
     */
    public BigDecimal getSalePrice() {
        return salePrice;
    }

    /**
     * @param salePrice the salePrice to set
     */
    public void setSalePrice(BigDecimal salePrice) {
        this.salePrice = salePrice;
    }

    /**
     * @return the stock
     */
    public Integer getStock() {
        return stock;
    }

    /**
     * @param stock the stock to set
     */
    public void setStock(Integer stock) {
        this.stock = stock;
    }

    /**
     * @return the type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return the priceGrade
     */
    public Integer getPriceGrade() {
        return priceGrade;
    }

    /**
     * @param priceGrade the priceGrade to set
     */
    public void setPriceGrade(Integer priceGrade) {
        this.priceGrade = priceGrade;
    }

    /**
     * @return the unit
     */
    public String getUnit() {
        return unit;
    }

    /**
     * @param unit the unit to set
     */
    public void setUnit(String unit) {
        this.unit = unit;
    }

    /**
     * @return the businessCode
     */
    public String getBusinessCode() {
        return businessCode;
    }

    /**
     * @param businessCode the businessCode to set
     */
    public void setBusinessCode(String businessCode) {
        this.businessCode = businessCode;
    }

    /**
     * @return the mainImage
     */
    public String getMainImage() {
        return mainImage;
    }

    /**
     * @param mainImage the mainImage to set
     */
    public void setMainImage(String mainImage) {
        this.mainImage = mainImage;
    }

    /**
     * @return the descrption
     */
    public String getDescrption() {
        return descrption;
    }

    /**
     * @param descrption the descrption to set
     */
    public void setDescrption(String descrption) {
        this.descrption = descrption;
    }

    /**
     * @return the softwareFlag
     */
    public String getSoftwareFlag() {
        return softwareFlag;
    }

    /**
     * @param softwareFlag the softwareFlag to set
     */
    public void setSoftwareFlag(String softwareFlag) {
        this.softwareFlag = softwareFlag;
    }

    /**
     * @return the purchaseNum
     */
    @JsonIgnore
    public Integer getPurchaseNum() {
        return purchaseNum;
    }

    /**
     * @param purchaseNum the purchaseNum to set
     */
    @JsonSetter
    public void setPurchaseNum(Integer purchaseNum) {
        this.purchaseNum = purchaseNum;
    }

    /**
     * @return the specialPrice
     */
    @JsonIgnore
    public BigDecimal getSpecialPrice() {
        return specialPrice;
    }

    /**
     * @param specialPrice the specialPrice to set
     */
    @JsonSetter
    public void setSpecialPrice(BigDecimal specialPrice) {
        this.specialPrice = specialPrice;
    }

    /**
     * @return the poItem
     */
    @JsonIgnore
    public String getPoItem() {
        return poItem;
    }

    /**
     * @param poItem the poItem to set
     */
    @JsonSetter
    public void setPoItem(String poItem) {
        this.poItem = poItem;
    }

    /**
     * @return the note
     */
    @JsonIgnore
    public String getNote() {
        return note;
    }

    /**
     * @param note the note to set
     */
    @JsonSetter
    public void setNote(String note) {
        this.note = note;
    }

}
